Total Complexity | 19 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 179 |
Lines of code | 88 |
Logical lines of code | 55 |
Comment lines | 70 |
Methods | 8 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
download() | 43 | 7 | 49 | |
disallow_pdfs() | 67 | 3 | 7 | |
add_rewrite_rule() | 67 | 3 | 7 | |
get_download_uri() | 67 | 2 | 7 | |
hooks() | 67 | 1 | 7 | |
get_attachment_id() | 79 | 1 | 3 | |
flush_rewrite_rules() | 82 | 1 | 3 | |
set_query_vars() | 74 | 1 | 5 |